package luj.game.robot.internal.net.http.receive;

import luj.game.robot.api.network.http.RobotHttpHandler;

final class HandleContextImpl implements RobotHttpHandler.Context {

  @Override
  public RobotHttpHandler.Http http() {
    return _http;
  }

  @SuppressWarnings("unchecked")
  @Override
  public <P> P param() {
    return (P) _handleParam;
  }

  @Override
  public RobotHttpHandler.Service service() {
    return _service;
  }

  HttpImpl _http;
  Object _handleParam;

  RobotHttpHandler.Service _service;
}
